#pragma once

#include "afxcmn.h"
// CZcdInfoEditCtrl

#define FLAG_N    1
#define FLAG_TIME 2
#define FLAG_CLEAR 4

class CZcdInfoEditCtrl : public CRichEditCtrl
{
	DECLARE_DYNAMIC(CZcdInfoEditCtrl)

public:
	CZcdInfoEditCtrl();
	virtual ~CZcdInfoEditCtrl();

	bool _showTime;
	void ShowTime( bool showTime )
	{
		_showTime = showTime;
	}
	void ShowInfo( int flag, const char* szFormat, ... );
	void ClearInfo();
	CString _strInfo;
	bool _isClear;
	void DoClear( bool isClear)
	{
		_isClear = isClear;
	}

protected:
	DECLARE_MESSAGE_MAP()
};


